package org.rainbowinverted.charging.device.connect.ykc.server.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 云快充操作码
 * @author hehuaiping
 */
@Getter
@AllArgsConstructor
public enum YkcOpCodeConstantsEnum {
    /**
     * 同步时间
     */
    DEVICE_TIME_SYNC(0x0800, "同步时间"),
    /**
     * 同步时间
     */
    DEVICE_TIME_SYNC_RESP(0x0801, "同步时间响应"),
    /**
     * 计费标准验证
     */
    CHARGE_STANDARD_CHECK(0x0802, "计费标准验证"),
    /**
     * 计费标准验证响应
     */
    CHARGE_STANDARD_CHECK_RESP(0x0803, "计费标准验证响应"),
    /**
     * 计费标准同步
     */
    CHARGE_STANDARD_SYNC(0x0804, "计费标准同步"),
    /**
     *计费标准同步响应
     */
    CHARGE_STANDARD_SYNC_RESP(0x0805, "计费标准同步响应"),
    /**
     * 充电记录
     */
    CHARGE_RECORD(0x0806, "充电记录"),
    /**
     * 充电记录响应
     */
    CHARGE_RECORD_RESP(0x0807, "充电记录响应"),
    /**
     * 计费标准设置
     */
    CHARGE_STANDARD_SETTING(0x0808, "计费标准同步"),
    /**
     *计费标准设置
     */
    CHARGE_STANDARD_SETTING_RESP(0x0809, "计费标准同步响应");

    /**
     * 操作代码
     */
    private final Integer opCode;
    /**
     * 操作名称
     */
    private final String opName;
}
